

<div class="mainWarpArea">
    <!-- Begin contentwarp -->
    <div class="contentwarp">
      <div id="register" style="background-color:#FFF;float:left;width:740px;border:1px solid #CCC;">
        <!-- Begin ContentBox -->
  <h2 style="padding-left: 20px;" class="classifiedstitle"><span style="color:#00619C; font-size:20px" >COPY THE FOLLOWING TEXT & PASTE INTO YOUR ASSIGNMENT</span></h2>

  <table width="100%" align="center" border="0" cellpadding="0" cellspacing="0">
    <tbody><tr>
      <td valign="middle" align="left">&nbsp;</td>
    </tr>
    <tr>
      <td valign="middle" align="center">
      <table width="99%" align="center" class="font12">
      
      <tr>
      <td align="center" valign="top">
      
    <div style="border:#00619C solid 2px; background-color:#F0F0F0; color:#000; width:auto; height:auto; padding-top:0px;" align="center">
     <?php
$chkbox = $_POST['chk'];
$txtbox = $_POST['txt'];
$country = $_POST['country'];


$size = sizeof($_POST['country']);
$count="";


foreach($txtbox as $a => $b)
if(($b!=""))
{
  $author  = $txtbox[$a].', ';
  $author .= substr($country[$a],0,1);


}
if($_POST['doi']!="")
{
	$doi='<br>doi:'.$_POST['doi'];
}
else
{
	$doi="";
}
if($_POST['country'][0]=="")
{

	echo $_POST['lastname'].','.'  '.substr($_POST['firstname'],0,1).'.('.$_POST['date'].')'.'.'.'  '.$_POST['title'].'.'.'  '.'<i>'.$_POST['Titleofthejournal'].','.'  '.$_POST['volumenumber'].'</i>'.'('.$_POST['issuenumber'].')'.','.'  '.$_POST['pages'].'.'.$doi;
}
if(($_POST['country'][0]!="") and ($size=='1'))

{
	
	echo $_POST['lastname'].','.'  '.substr($_POST['firstname'],0,1).'.,'.'&amp; '.$author.".".'('.$_POST['date'].')'.'.'.'  '.$_POST['title'].'.'.'  '.'<i>'.$_POST['Titleofthejournal'].','.'  '.$_POST['volumenumber'].'</i>'.'('.$_POST['issuenumber'].')'.','.'  '.$_POST['pages'].'.'.$doi; 
}
if($size=='2')

{
	
echo $_POST['lastname'].','.'  '.substr($_POST['firstname'],0,1).'.,'.$_POST['txt'][0].", ".substr($_POST['country'][0],0,1).'.,
'.'&amp; '.$_POST['txt'][1].", ".substr($_POST['country'][1],0,1).'.('.$_POST['date'].')'.'.'.'  '.$_POST['title'].'.'.'  '.'<i>'.$_POST['Titleofthejournal'].','.'  '.$_POST['volumenumber'].'</i>'.'('.$_POST['issuenumber'].')'.','.'  '.$_POST['pages'].'.'.$doi;  
}
if($size=='3')

{
	
echo $_POST['lastname'].','.'  '.substr($_POST['firstname'],0,1).'.,'.$_POST['txt'][0].", ".substr($_POST['country'][0],0,1).'.,'.$_POST['txt'][1].", ".substr($_POST['country'][1],0,1).'., '.'&amp; '.$_POST['txt'][2].", ".substr($_POST['country'][2],0,1).'.('.$_POST['date'].')'.'.'.'  '.$_POST['title'].'.'.'  '.'<i>'.$_POST['Titleofthejournal'].','.'  '.$_POST['volumenumber'].'</i>'.'('.$_POST['issuenumber'].')'.','.'  '.$_POST['pages'].'.'.$doi; 
}

if($size=='4')

{
	
echo $_POST['lastname'].','.'  '.substr($_POST['firstname'],0,1).'.,'.$_POST['txt'][0].", ".substr($_POST['country'][0],0,1).'.,'.$_POST['txt'][1].", ".substr($_POST['country'][1],0,1).'.,'.$_POST['txt'][2].", ".substr($_POST['country'][2],0,1).'., '.'&amp; '.$_POST['txt'][3].", ".substr($_POST['country'][3],0,1).'.('.$_POST['date'].')'.'.'.'  '.$_POST['title'].'.'.'  '.'<i>'.$_POST['Titleofthejournal'].','.'  '.$_POST['volumenumber'].'</i>'.'('.$_POST['issuenumber'].')'.','.'  '.$_POST['pages'].'.'.$doi; 
}

if($size=='5')

{
	
echo $_POST['lastname'].','.'  '.substr($_POST['firstname'],0,1).'.,'.$_POST['txt'][0].", ".substr($_POST['country'][0],0,1).'.,'.$_POST['txt'][1].", ".substr($_POST['country'][1],0,1).'.,'.$_POST['txt'][2].", ".substr($_POST['country'][2],0,1).'.,'.$_POST['txt'][3].", ".substr($_POST['country'][3],0,1).'.,'.'&amp; '.$_POST['txt'][4].", ".substr($_POST['country'][4],0,1).'.('.$_POST['date'].')'.'.'.'  '.$_POST['title'].'.'.'  '.'<i>'.$_POST['Titleofthejournal'].','.'  '.$_POST['volumenumber'].'</i>'.'('.$_POST['issuenumber'].')'.','.'  '.$_POST['pages'].'.'.$doi; 
}

if($size=='6')

{

echo $_POST['lastname'].','.'  '.substr($_POST['firstname'],0,1).'.,'.$_POST['txt'][0].", ".substr($_POST['country'][0],0,1).'.,'.$_POST['txt'][1].", ".substr($_POST['country'][1],0,1).'.,'.$_POST['txt'][2].", ".substr($_POST['country'][2],0,1).'.,'.$_POST['txt'][3].", ".substr($_POST['country'][3],0,1).'.,'.$_POST['txt'][4].", ".substr($_POST['country'][4],0,1).'., &amp; '.$_POST['txt'][5].", ".substr($_POST['country'][5],0,1).'.('.$_POST['date'].')'.'.'.'  '.$_POST['title'].'.'.'  '.'<i>'.$_POST['Titleofthejournal'].','.'  '.$_POST['volumenumber'].'</i>'.'('.$_POST['issuenumber'].')'.','.'  '.$_POST['pages'].'.'.'.'.$doi; 
}
if($size=='7')

{

echo $_POST['lastname'].','.'  '.substr($_POST['firstname'],0,1).'.,'.$_POST['txt'][0].", ".substr($_POST['country'][0],0,1).'.,'.$_POST['txt'][1].", ".substr($_POST['country'][1],0,1).'.,'.$_POST['txt'][2].", ".substr($_POST['country'][2],0,1).'.,'.$_POST['txt'][3].", ".substr($_POST['country'][3],0,1).'.,'.$_POST['txt'][4].", ".substr($_POST['country'][4],0,1).'., . . .'.$_POST['txt'][6].", ".substr($_POST['country'][6],0,1).'.('.$_POST['date'].')'.'.'.'  '.$_POST['title'].'.'.'  '.'<i>'.$_POST['Titleofthejournal'].','.'  '.$_POST['volumenumber'].'</i>'.'('.$_POST['issuenumber'].')'.','.'  '.$_POST['pages'].'.'.'.'.$doi; 
}

if($size=='8')

{

echo $_POST['lastname'].','.'  '.substr($_POST['firstname'],0,1).'.,'.$_POST['txt'][0].", ".substr($_POST['country'][0],0,1).'.,'.$_POST['txt'][1].", ".substr($_POST['country'][1],0,1).'.,'.$_POST['txt'][2].", ".substr($_POST['country'][2],0,1).'.,'.$_POST['txt'][3].", ".substr($_POST['country'][3],0,1).'.,'.$_POST['txt'][4].", ".substr($_POST['country'][4],0,1).'., . . . '.$_POST['txt'][5].", ".substr($_POST['country'][5],0,1).'.,. . . '.$_POST['txt'][6].", ".substr($_POST['country'][6],0,1).'.,'.$_POST['txt'][7].", ".substr($_POST['country'][7],0,1).'.('.$_POST['date'].')'.'.'.'  '.$_POST['title'].'.'.'  '.'<i>'.$_POST['Titleofthejournal'].','.'  '.$_POST['volumenumber'].'</i>'.'('.$_POST['issuenumber'].')'.','.'  '.$_POST['pages'].'.'.'.'.$doi; 
}

	
	
    ?>
    
    
     </div>
      </td>
      </tr>
        </table>
    
      </td>
    </tr>
    <tr>
      <td valign="middle" align="left">&nbsp;</td>
    </tr>
  </tbody></table>


      </div>      
      
     
      <!-- End contentwarp -->
       <?php include("includes/right_content.php");?>
      <div style="clear:both;"></div>
      
    </div>
    <!-- End mainWarpArea -->
  </div>